package com.gzhu.knowledgeAdmin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gzhu.knowledgeAdmin.entity.TQjszT;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface GlobalSettingMapper extends BaseMapper<TQjszT> {

    Integer countByGsid(@Param("fGsid") String fGsid);

    Integer insertGlobalSetting(@Param("tQjszT") TQjszT tQjszT);

    Integer updateGlobalSetting(@Param("tQjszT") TQjszT tQjszT);

    TQjszT getAllByGsid(@Param("fGsid") String fGsid);
}
